<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<head>
	<meta charset="UTF-8">
	<title>凯盛项目管理系统</title>
	<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" />
	<script type="text/javascript" src="js/jquery.min.js"></script>
	<script type="text/javascript" src="js/bootstrap.min.js"></script>
</head>
<body class="body">
	<jsp:include page="include/top.jsp"></jsp:include>
	
	<div class="container">
	  <div class="row">
		<jsp:include page="include/left.jsp"></jsp:include>
		<div class="span9">
			
			<div class="btn-group" style="float:right">
          		<a class="btn" href="#"><i class="icon-cog"></i>操作</a>
          		<a class="btn dropdown-toggle" data-toggle="dropdown" href="#"><span class="caret"></span></a>
          		<ul class="dropdown-menu">
            		<li><a href="toNewGoal.jspx"><i class="icon-plus"></i>添加新目标</a></li>
            		<li><a href="#"><i class="icon-zoom-in"></i>浏览所有任务</a></li>
          		</ul>
        	</div>

			<div class="clear"></div>

			<c:forEach items="${goalList}" var="goal">
				<ul class="breadcrumb" style="margin-bottom:0px;border-radius: 3px 3px 0 0;margin-top:15px">
					<li class="active">
						<a href="toTask.jspx?goalId=${goal.goal_id}"><i class="icon-th"></i>目标${goal.goal_id}--→${goal.goal_title}</a>
					</li>
					<li style="float:right"><i class="icon-edit"></i><a href="editGoal.jspx?goalId=${goal.goal_id}" class="link-black">编辑</a>&nbsp;&nbsp;&nbsp;&nbsp;<i class="icon-trash"></i><a href="deleteGoal.jspx?goalId=${goal.goal_id}">删除</a></li>
				</ul>
				<div class="wall">
					<p>${goal.goal_context}</p>
					<div class="progress progress-danger">
						<div class="bar" style="width: 60%;">已完成60%</div>
					</div>
				</div>
			</c:forEach>
		</div>
	  </div>
	</div>
</body>
</html>